<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI中医助手</title>
    <link rel="stylesheet" href="/ai-doctor/static/styles.css">
    <link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
</head>
<body>
    <div class="container">
        <header>
            <h1><i class="fas fa-heartbeat"></i> AI中医助手</h1>
            <p>基于传统中医理论与现代AI技术的智能健康顾问</p>
        </header>

        <div class="chat-container">
            <div class="chat-box" id="chatBox">
                <div class="message bot">
                    <div class="avatar">
                        <i class="fas fa-user-md"></i>
                    </div>
                    <div class="content">
                        <p>您好，我是您的AI中医助手。请详细描述您的症状或健康问题，我将为您提供专业的中医建议。</p>
                    </div>
                </div>
            </div>
            
            <div class="input-area">
                <textarea id="userInput" placeholder="请描述您的症状或健康问题..."></textarea>
                <button id="sendBtn"><i class="fas fa-paper-plane"></i> 发送</button>
            </div>
        </div>

        <footer>
            <p>注意：AI中医助手仅提供参考建议，不能替代专业医生的诊断和治疗。如有严重健康问题，请及时就医。</p>
        </footer>
    </div>

    <script src="/ai-doctor/static/script.js"></script>
</body>
</html>
